<div class="thredded--email">
  <figure class="thredded--email-post">
    <figcaption class="thredded--email-post--author">
      <%= t 'thredded.emails.post_notification.html.post_lead_html',
            user: @post.user.thredded_display_name,
            post_url: post_permalink_url(@post.id),
            topic_title: @post.postable.title %>
    </figcaption>
    <% cache [@post, 'content-onebox-placeholders'] do %>
      <%= render partial: 'thredded/posts/content',
                 locals: { post: @post, options: {onebox_placeholders: true} } %>
    <% end %>
  </figure>
  <hr/>

  <p>
    <%= t 'thredded.emails.post_notification.html.email_sent_reason_html',
          post_url: post_permalink_url(@post.id),
          topic_title: @post.postable.title %>
  </p>

  <p>
    <%= t 'thredded.emails.post_notification.html.unsubscribe_instructions_html',
          preferences_url: edit_messageboard_preferences_url(@post.messageboard) %>
  </p>
</div>
